SolidJSS
SolidJSโ€ข3y agoโ€ข
33 replies
Braveheart

using the callback to <Show> and update store, results in whole store being set to new value

  <Show when={'companyName' in formDataStore && formDataStore}>
      {(currentDataStore) => {
        return (

if I do this in form setFormDataStore({ companyDetails: { phoneNumber: e.currentTarget.value } });

then the only value in the store is as follows: causing other part to throw undefined errors
Was this page helpful?