mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier, you're annoying
This commit is contained in:
@@ -80,7 +80,8 @@ export default class WaCheckbox extends WebAwesomeFormAssociatedElement {
|
||||
|
||||
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
||||
get value(): string | null {
|
||||
return this.checked ? this._value || 'on' : null;
|
||||
const val = this._value || 'on'
|
||||
return this.checked ? val : null;
|
||||
}
|
||||
|
||||
@property({ reflect: true })
|
||||
|
||||
Reference in New Issue
Block a user