mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
remove data- attribute fallback for states
This commit is contained in:
@@ -497,8 +497,6 @@ export class WebAwesomeFormAssociatedElement
|
||||
(this.internals.states as Set<string>).add(state);
|
||||
} catch (_) {
|
||||
// Without this, test suite errors.
|
||||
} finally {
|
||||
this.setAttribute(`data-wa-${state}`, '');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -507,8 +505,6 @@ export class WebAwesomeFormAssociatedElement
|
||||
(this.internals.states as Set<string>).delete(state);
|
||||
} catch (_) {
|
||||
// Without this, test suite errors.
|
||||
} finally {
|
||||
this.removeAttribute(`data-wa-${state}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user