Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search-table need initialValues #5

Closed
JIACHENG9 opened this issue Jun 23, 2019 · 2 comments
Closed

search-table need initialValues #5

JIACHENG9 opened this issue Jun 23, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@JIACHENG9
Copy link
Contributor

JIACHENG9 commented Jun 23, 2019

用于将值回填到 Form

type StoreBaseValue = string | number | boolean;
type StoreValue = StoreBaseValue | Store | StoreBaseValue[];
interface Store {
  [name: string]: StoreValue;
}

initialValues: () => (Store | Promise<Store>)

const obj = useSearchResult({
  initialValues,
  search,
});
@JIACHENG9 JIACHENG9 changed the title search-table need search-table need initialValues Jun 23, 2019
@JIACHENG9 JIACHENG9 added the enhancement New feature or request label Jun 23, 2019
@JIACHENG9
Copy link
Contributor Author

#7

@JIACHENG9
Copy link
Contributor Author

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant