html - 标签输入在重新加载页面后消失
问题描述
使用标签输入并认为它工作正常。但是,当我重新加载页面时,它不再存在。我想知道可能是什么情况,因为我页面上的所有其他内容、文本框、复选框等都正常工作并且在重新加载后仍然存在。
<div class="form-group">
<label for="ipRestrictions" class="col-lg-4 col-sm-4 col-xs-4 control-label
control-label no-padding-right">IP Restrictions</label>
<div class="col-lg-6 col-sm-6 col-xs-6">
<tags-input use-strings="true" id="ipRestrictions"
ng-model="targetEntity.ipRestrictions"
placeholder="Add new host or IP">
</tags-input>
</div>
</div>
解决方案
推荐阅读
- python - 打印工作,但使用回溯解决数独时返回值为 None
- android - Proguard:ArrayAdapter.createViewFromResource 中的 NullPointerException,堆栈跟踪中没有我的任何类
- rascal - Rascal:语法定义文档中的“标签”和“名称”有什么区别?
- c - 如何在 C 程序中指定在单核上运行?
- java - 如何从 Double 值中删除 E 符号
- ruby - 将 ruby 从 2.4.0 升级到 2.7.0 并将 RubyGem 升级到 3.1.2 后,由于“不允许安装到父路径”,我无法在 Windows 上安装任何 gem
- arrays - 从平面数组创建嵌套数组
- ios - 以编程方式对 1 个场景中的 2 个 UISwitches 进行编码
- batch-file - 创建批处理脚本以在任务计划程序中使用 sendemail.exe
- c++ - 如何使用 OpenSSL 添加应在流模式下加密的数据?