Slot
Many times, we need to be more detailed to customize our form controls. At this time, the slot becomes very useful. We can look at the common slot distribution:
Around our form controls, Former has provided some slots for users to use. In our JSON schema
, we can income fields like top
, prefix
, bottom
, suffix
.
...
{
label: 'input',
name: 'input',
type: 'input',
top: 'top',
prefix: 'prefix',
suffix: 'suffix',
bottom: 'bottom'
}
...
← Quick Start Linkage →