(name string, value interface{}, group UiNodeGroup, opts ...InputAttributesModifier)
| 109 | } |
| 110 | |
| 111 | func NewInputFieldFromJSON(name string, value interface{}, group UiNodeGroup, opts ...InputAttributesModifier) *Node { |
| 112 | return &Node{ |
| 113 | Type: Input, |
| 114 | Group: group, |
| 115 | Attributes: applyInputAttributes(opts, &InputAttributes{Name: name, Type: toFormType(name, value), FieldValue: value}), |
| 116 | Meta: &Meta{}, |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | func NewInputField(name string, value interface{}, group UiNodeGroup, inputType UiNodeInputAttributeType, opts ...InputAttributesModifier) *Node { |
| 121 | return &Node{ |