-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up generate_from_spec.py and fully generate checkbox from Compone…
…ntSpec (and pass tests)
- Loading branch information
1 parent
ffbbec2
commit 69326e9
Showing
14 changed files
with
189 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<mat-checkbox [checked]="value" (change)="handleCheckboxChange($event)"> | ||
<mat-checkbox [checked]="value" (change)="onMatCheckboxChange($event)"> | ||
{{config().getLabel()}} | ||
</mat-checkbox> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
|
||
syntax = "proto3"; | ||
|
||
package mesop.components.checkbox; | ||
|
||
message CheckboxType { | ||
string label = 1; | ||
string on_update_handler_id = 2; | ||
bool default_value = 3; | ||
bool value = 1; | ||
string on_mat_checkbox_change_handler_id = 2; | ||
string label = 3; | ||
} |
Oops, something went wrong.