添加模糊搜索
基于url表达式的模糊搜索
This commit is contained in:
@@ -48,8 +48,13 @@ public partial class IDIS_RegisterWeaver : FormWeaverResource
|
||||
data.Handle = handleEdit.Text;
|
||||
data.Format = field.Type;
|
||||
data.Name = field.Name;
|
||||
data.Value = field.DefaultValue;
|
||||
|
||||
valueEdit.TextChanged += x => data.Value = x;
|
||||
//valueEdit.TextChanged += x => data.Value = x;
|
||||
valueEdit.TextChanged += newValue =>
|
||||
{
|
||||
data.Value = string.IsNullOrEmpty(newValue) ? field.DefaultValue : newValue;
|
||||
};
|
||||
}
|
||||
|
||||
public override string GetContent()
|
||||
|
@@ -119,7 +119,6 @@ public partial class IDIS_TemplateWeaver : FormWeaverResource
|
||||
}
|
||||
private void AddFields()
|
||||
{
|
||||
if (templateBuilder.CurrentTemplate is null) return;
|
||||
var current = templateBuilder.CurrentTemplate.Fields.ToList();
|
||||
current.Add(new IDIS_TemplateForm()
|
||||
{
|
||||
|
Reference in New Issue
Block a user