Skip to content

Commit

Permalink
Sets the autoClose validation in soy from ClayAlertBase to any | Fixes
Browse files Browse the repository at this point in the history
…liferay#910

Soy does not interpret that in ClayToast and ClayStripe we are treating autoClose to always return an `int`. We leave in soy the `autoClose` any and we guarantee that in our STATE in js do the validation to Number.
  • Loading branch information
matuzalemsteles committed May 23, 2018
1 parent 2a7cadd commit 8a9fa11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clay-alert/src/ClayAlertBase.soy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{@param title: string}
{@param? _handleCloseClick: any}
{@param? _visible: bool}
{@param? autoClose: int}
{@param? autoClose: any}
{@param? closeable: bool}
{@param? elementClasses: string}
{@param? id: string}
Expand Down

0 comments on commit 8a9fa11

Please sign in to comment.