我有一个 select-radio-inline'
类型的自动表单。所需的星号显示在所有选项中。我想把它从单选框中删除。
如何实现?
架构:
name: {
type: String,
autoform: {
type: 'select-radio-inline',
label: "Sex",
afFieldInput: {
options: function() {
return [{
label: "male",
value: "male"
}, {
label: "female",
value: "female"
}];
}
}
}
}
最佳答案
这对我有用。
.form-group[data-required="true"] .af-radio-group label:after {
content: "" !important;
}
关于Meteor autoform 删除星号表单单选选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34329842/