feat: widget checkbox

This commit is contained in:
1ambda 2017-03-16 19:30:15 +09:00
parent 11b7eaac94
commit 4e73012033

View file

@ -244,7 +244,9 @@ limitations under the License.
</div>
<div ng-if="paramSpec.widget === 'checkbox'">
<input type="checkbox" value="option1" />
<input type="checkbox"
data-ng-model="config.parameter[config.chart.current][paramSpec.name]"
data-ng-checked="config.parameter[config.chart.current][paramSpec.name]" />
</div>
<div ng-if="paramSpec.widget === 'textarea'">